home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-04-15 | 1.2 KB | 51 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="2"
- "UIPATH"="Information\Core"
- "NAME"="DirectX Information"
- "VERSION"="1.00"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Version"
- "TEXT 2"="Build Number"
- "DESCRIPTION 1"="This plug-in displays some information about DirectX on your system. You can't change anything!!!"
- "DESCRIPTION 2"="Recommended for use with DirectX 7 or higher, but may work with prior versions as well."
- "AUTHOR"="Xteq Systems (CptSiskoX)"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"=" "
-
-
- sP="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX\"
- sV1="InstalledVersion"
- sV2="Version"
- sV3="SystemRoot"
- sV4="InstallDate"
- sV5="CurrentBuild"
-
- Sub Plugin_Initialize
- if GetWinVer=2 or GetWinVer=4 or GetWinVer=6 then
- s=RegReadValue(sP & sV1)
- Call SetUIElement(1,s)
-
- s=RegReadValue(sP & sV2)
- Call SetUIElement(2,s)
-
- else
- Call SetUIElement(1,"N/A")
- Call SetUIElement(2,"N/A")
- end if
-
-
- Call Disable 'user can't change anything!
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-